import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";

@Entity('friend')
export class FriendEntity {
  @PrimaryGeneratedColumn('uuid')
  id: string;

  @Column()
  friend_id: string;

  @Column()
  user_id: string;

  @Column({type: 'double', default: new Date().valueOf()})
  create_at: number;
}